import * as Request from '../services/request.js';
import EnvConfig from '../utils/envConfig.js';

export default class{
    login(loginName,loginPassword) {
        return Request.post(EnvConfig.apiService +'AdminUser/Login',
            {
                LoginName: loginName,
                LoginPassword: loginPassword
            },
            'AdminUser',
            'ApiService',
            {
                isNoToken: true
            }
        );
    }
}